{extend name="../application/public/base.html" /}
{block name="head"}
	<link rel="stylesheet" href="ADMIN_CUSTOM/css/form.css">
	<link rel="stylesheet" href="ADMIN_CUSTOM/css/btn.css">
{/block}
{block name="body"}
    <body>
        <div class="x-nav">
			<span class="layui-breadcrumb">
				<a href="">首页</a>
				<a href="">演示</a>
				<a><cite>导航元素</cite></a>
			</span>
          	<a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right" onclick="location.reload()" title="刷新">
            <i class="layui-icon layui-icon-refresh" style="line-height:30px"></i></a>
        </div>
        <div class="layui-fluid">
            <div class="layui-row layui-col-space15">
                <div class="layui-col-md12">
                    <div class="layui-card">
                        <div class="layui-card-body">
                        	<!-- 咨询信息 start -->
                            <div class="layui-tab layui-tab-card" style="margin-bottom:15px;">
								<ul class="order_table">
									<li>咨询信息</li>
								</ul>
							  	<div class="layui-tab-content tab-content-form">
								 	<span>咨询日期：{$row.addtime}</span>
								 	<span>咨询门店：{$row.shop_name}</span>
								 	<span>营业员：{$row.admin_name}</span>
							  	</div>
							</div>
							<!-- 咨询信息 end -->
							<!-- 客户信息 start -->
							<div class="layui-tab layui-tab-card" style="margin-bottom:15px;">
							  	<ul class="order_table">
									<li>客户信息</li>
							  	</ul>
							  	<div class="layui-tab-content tab-content-form">
								 	<span>客户姓名：{$row.username}</span>
								 	<span>称呼：{$row.nkname}</span>
								 	<span>联系方式：{$row.phone}</span>
								 	<span>备用联系方式：{$row.spare_phone}</span>
								 	<span>客户编号：{$row.user_sn}</span>
							  	</div>
							</div>
							<!-- 客户信息 end -->
							<!-- 咨询产品 start -->
							<div class="layui-tab layui-tab-card need-up" style="margin-bottom:15px;">
							  	<ul class="order_table">
									<li>咨询产品</li>
							  	</ul>
							  	<div class="layui-tab-content tab-content-form">
							  		<table class="layui-table layui-form">
									  	<thead>
											<tr>
										  		<th>序号</th>
										  		<th>产品名称</th>
										  		<th>产品分类</th>
										  		<th>产品子分类</th>
										  		<th>品牌</th>
										  		<th>型号</th>
										  		<th>内存</th>
										  		<th>属性</th>
										  		<th>颜色</th>
										  		<th>是否有货</th>
											</tr>
									  	</thead>
									  	<tbody>
									  		{volist name="goods" id="v" key="key"}
											<tr>
										  		<td>{$key}</td>
										  		<td>{$v.gname}</td>
										  		<td>{$v.category_name}</td>
										  		<td>{$v.cat_name}</td>
										  		<td>{$v.brand_name}</td>
										  		<td>{$v.marker}</td>
										  		<td>{$v.memory_name}</td>
										  		<td>{$v.attribute_name}</td>
										  		<td>{$v.colour_name}</td>
										  		<td>{$v.is_stock_text}</td>
											</tr>
											{/volist}
									  </tbody>
									</table>
							  	</div>
							</div>
							<!-- 咨询产品 end -->

							<!-- 咨询产品照片 start -->
							<div class="layui-tab layui-tab-card need-up" style="margin-bottom:15px;">
							  	<ul class="order_table">
									<li>咨询产品照片</li>
							  	</ul>
							  	<div class="layui-tab-content tab-content-form">
							  		{volist name="img" id="v"}
							  		<img width="100" height="100" src="{$v}">
							  		{/volist}
							  	</div>
							</div>
							<!-- 咨询产品照片 end -->
							<!-- 咨询备注 start -->
							<div class="layui-tab layui-tab-card need-up" style="margin-bottom:15px;">
							  	<ul class="order_table">
									<li>订单备注</li>
							  	</ul>
							  	<div class="layui-tab-content tab-content-form">
							  		<div class="tab-content-form">
							  			<span>{$row.remarks}</span>
							  		</div>
							  	</div>
							</div>
							<!-- 咨询备注 end -->
                        </div>
                    </div>
                </div>
            </div>
        </div> 
    </body>
{/block}
{block name="script"}
    <script type="text/javascript">

    </script>
{/block}